package com.punai.externalccb.bo;

import com.punai.externalccb.domain.YdSummary;

import java.math.BigDecimal;

public class YDSummaryBo {
    private Integer ID;
    private String Name;
    private BigDecimal TargetTotal;
    private BigDecimal MonthCz;
    private BigDecimal MonthCb;
    private BigDecimal MonthLrTotal;
    private BigDecimal MonthLrl;
    private BigDecimal CostsCz;
    private BigDecimal CostsCb;
    private BigDecimal CostsLrTotal;
    private BigDecimal CostsLrl;
    private BigDecimal CostsCbWcl;
    private Integer PID;
    private String Code;
    private String Unit;
    private Integer Kind;
    private Integer BidNodeID;
    private BigDecimal ContractAmount;
    private BigDecimal MonthRealCb;
    private BigDecimal MonthRealLrTotal;
    private BigDecimal MonthRealLrl;
    private BigDecimal CostsRealCb;
    private BigDecimal CostsRealLrTotal;
    private BigDecimal CostsRealLrl;
    private BigDecimal CostsTargetTotal;
    private BigDecimal CostsJCE;
    private Integer YDDate;

    private String Cbkm;

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public BigDecimal getTargetTotal() {
        return TargetTotal;
    }

    public void setTargetTotal(BigDecimal targetTotal) {
        TargetTotal = targetTotal;
    }

    public BigDecimal getMonthCz() {
        return MonthCz;
    }

    public void setMonthCz(BigDecimal monthCz) {
        MonthCz = monthCz;
    }

    public BigDecimal getMonthCb() {
        return MonthCb;
    }

    public void setMonthCb(BigDecimal monthCb) {
        MonthCb = monthCb;
    }

    public BigDecimal getMonthLrTotal() {
        return MonthLrTotal;
    }

    public void setMonthLrTotal(BigDecimal monthLrTotal) {
        MonthLrTotal = monthLrTotal;
    }

    public BigDecimal getMonthLrl() {
        return MonthLrl;
    }

    public void setMonthLrl(BigDecimal monthLrl) {
        MonthLrl = monthLrl;
    }

    public BigDecimal getCostsCz() {
        return CostsCz;
    }

    public void setCostsCz(BigDecimal costsCz) {
        CostsCz = costsCz;
    }

    public BigDecimal getCostsCb() {
        return CostsCb;
    }

    public void setCostsCb(BigDecimal costsCb) {
        CostsCb = costsCb;
    }

    public BigDecimal getCostsLrTotal() {
        return CostsLrTotal;
    }

    public void setCostsLrTotal(BigDecimal costsLrTotal) {
        CostsLrTotal = costsLrTotal;
    }

    public BigDecimal getCostsLrl() {
        return CostsLrl;
    }

    public void setCostsLrl(BigDecimal costsLrl) {
        CostsLrl = costsLrl;
    }

    public BigDecimal getCostsCbWcl() {
        return CostsCbWcl;
    }

    public void setCostsCbWcl(BigDecimal costsCbWcl) {
        CostsCbWcl = costsCbWcl;
    }

    public Integer getPID() {
        return PID;
    }

    public void setPID(Integer PID) {
        this.PID = PID;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public Integer getKind() {
        return Kind;
    }

    public void setKind(Integer kind) {
        Kind = kind;
    }

    public Integer getBidNodeID() {
        return BidNodeID;
    }

    public void setBidNodeID(Integer bidNodeID) {
        BidNodeID = bidNodeID;
    }

    public BigDecimal getContractAmount() {
        return ContractAmount;
    }

    public void setContractAmount(BigDecimal contractAmount) {
        ContractAmount = contractAmount;
    }

    public BigDecimal getMonthRealCb() {
        return MonthRealCb;
    }

    public void setMonthRealCb(BigDecimal monthRealCb) {
        MonthRealCb = monthRealCb;
    }

    public BigDecimal getMonthRealLrTotal() {
        return MonthRealLrTotal;
    }

    public void setMonthRealLrTotal(BigDecimal monthRealLrTotal) {
        MonthRealLrTotal = monthRealLrTotal;
    }

    public BigDecimal getMonthRealLrl() {
        return MonthRealLrl;
    }

    public void setMonthRealLrl(BigDecimal monthRealLrl) {
        MonthRealLrl = monthRealLrl;
    }

    public BigDecimal getCostsRealCb() {
        return CostsRealCb;
    }

    public void setCostsRealCb(BigDecimal costsRealCb) {
        CostsRealCb = costsRealCb;
    }

    public BigDecimal getCostsRealLrTotal() {
        return CostsRealLrTotal;
    }

    public void setCostsRealLrTotal(BigDecimal costsRealLrTotal) {
        CostsRealLrTotal = costsRealLrTotal;
    }

    public BigDecimal getCostsRealLrl() {
        return CostsRealLrl;
    }

    public void setCostsRealLrl(BigDecimal costsRealLrl) {
        CostsRealLrl = costsRealLrl;
    }

    public BigDecimal getCostsTargetTotal() {
        return CostsTargetTotal;
    }

    public void setCostsTargetTotal(BigDecimal costsTargetTotal) {
        CostsTargetTotal = costsTargetTotal;
    }

    public BigDecimal getCostsJCE() {
        return CostsJCE;
    }

    public void setCostsJCE(BigDecimal costsJCE) {
        CostsJCE = costsJCE;
    }

    public Integer getYDDate() {
        return YDDate;
    }

    public void setYDDate(Integer YDDate) {
        this.YDDate = YDDate;
    }

    public String getCbkm() {
        return Cbkm;
    }

    public void setCbkm(String cbkm) {
        this.Cbkm = cbkm;
    }

    public static YdSummary convert(YDSummaryBo bo) {
        YdSummary summary = new YdSummary();
        summary.setOid(bo.getID());
        summary.setName(bo.getName());
        summary.setTargetTotal(bo.getTargetTotal());
        summary.setMonthCz(bo.getMonthCz());
        summary.setMonthCb(bo.getMonthCb());
        summary.setMonthLrTotal(bo.getMonthLrTotal());
        summary.setMonthLrl(bo.getMonthLrl());
        summary.setCostsCz(bo.getCostsCz());
        summary.setCostsCb(bo.getCostsCb());
        summary.setCostsLrTotal(bo.getCostsLrTotal());
        summary.setCostsLrl(bo.getCostsLrl());
        summary.setCostsCbWcl(bo.getCostsCbWcl());
        summary.setPid(bo.getPID());
        summary.setCode(bo.getCode());
        summary.setUnit(bo.getUnit());
        summary.setKind(bo.getKind());
        summary.setBidNodeId(bo.getBidNodeID());
        summary.setContractAmount(bo.getContractAmount());
        summary.setMonthRealCb(bo.getMonthRealCb());
        summary.setMonthRealLrTotal(bo.getMonthRealLrTotal());
        summary.setMonthRealLrl(bo.getMonthRealLrl());
        summary.setCostsRealCb(bo.getCostsRealCb());
        summary.setCostsRealLrTotal(bo.getCostsRealLrTotal());
        summary.setCostsRealLrl(bo.getCostsRealLrl());
        summary.setCostsTargetTotal(bo.getCostsTargetTotal());
        summary.setCostsJce(bo.getCostsJCE());
        summary.setYdDate(bo.getYDDate());
        summary.setCbkm(bo.getCbkm());
        return summary;
    }
}